﻿<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" 
                   assembly="DDDSample.Domain.Persistence.NHibernate" 
                   namespace="DDDSample.Domain.Persistence.NHibernate"
                   schema="domain" default-lazy="false">
  
  <class name="Event" table="Event">
    <id name="SequenceNumber">
      <column name="SequenceNumber" />
      <generator class="identity"/>
    </id>

    <property name="Version"/>
    <property name="EntityId"/>
    <property name="Data" type="Serializable"/>
    <property name="IsSnapshot"/>
        
  </class>
</hibernate-mapping>